package com.peas.platform.module.icims.base.mdm.enums;

import com.peas.platform.common.core.enums.BaseEnum;
import com.peas.platform.common.core.enums.CommonElType;

public enum FileType implements BaseEnum {

    normal("normal", "普通文件", CommonElType.info),
    text("text", "文本文件", CommonElType.info),
    document("document", "文档文件", CommonElType.info),
    word("word", "Word", CommonElType.info),
    excel("excel", "Excel", CommonElType.info),
    powerpoint("powerpoint", "PPT", CommonElType.info),
    image("image", "图片", CommonElType.info),
    voice("voice", "音频文件", CommonElType.info),
    video("video", "视频文件", CommonElType.info),
    compress("compress", "压缩文件", CommonElType.info),
    deploy("deploy", "部署文件", CommonElType.info),
    ;

    private final String key;
    private final String value;
    private final CommonElType elTagType;

    FileType(String key, String value, CommonElType elTagType) {
        this.key = key;
        this.value = value;
        this.elTagType = elTagType;
    }

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public CommonElType getElTagType() {
        return elTagType;
    }

}
